Remove the dynamic-docstring-function feature.
authorChong Yidong <cyd@gnu.org>
Fri, 3 Jan 2014 05:37:58 +0000 (13:37 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 3 Jan 2014 05:37:58 +0000 (13:37 +0800)
commit3ffbb1932753854b275cd2be6b8c0009cf3380a5
tree3a970935c7534dac6ad0f2de20c526a99cf1eb69
parente34770e73b4c27fc49ed784bc22019278f968cf8
Remove the dynamic-docstring-function feature.

* emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
Ignore function-documentation property when getting documentation.
(ad-activate-advised-definition): Use function-documentation
generate the docstring.
(ad-make-advised-definition): Don't call
ad-make-advised-definition-docstring.
(ad-make-advised-definition-docstring, ad-advised-definition-p):
Delete functions.

* emacs-lisp/nadvice.el (advice--make-docstring): Change args.
(advice--docstring): Delete variable.
(advice--make-1): Leave the docstring empty.
(advice-add): Use function-documentation for advised docstring.

* progmodes/sql.el (sql-help): Use function-documentation instead
of dynamic-docstring-function property.  No need to autoload now.
(sql--help-docstring): New variable.
(sql--make-help-docstring): Use it.

* doc.c (Fdocumentation): Remove dynamic-docstring-function.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/advice.el
lisp/emacs-lisp/nadvice.el
lisp/progmodes/sql.el
src/ChangeLog
src/doc.c